home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 2001 May / SGI IRIX Base Documentation 2001 May.iso / usr / share / catman / g_man / cat3 / standard / clear.z / clear
Encoding:
Text File  |  1998-10-20  |  2.6 KB  |  67 lines

  1.  
  2.  
  3.  
  4. cccclllleeeeaaaarrrr((((3333GGGG))))                                                            cccclllleeeeaaaarrrr((((3333GGGG))))
  5.  
  6.  
  7.  
  8. NNNNAAAAMMMMEEEE
  9.      cccclllleeeeaaaarrrr - clears the viewport
  10.  
  11. CCCC SSSSPPPPEEEECCCCIIIIFFFFIIIICCCCAAAATTTTIIIIOOOONNNN
  12.      vvvvooooiiiidddd cccclllleeeeaaaarrrr(((())))
  13.  
  14. PPPPAAAARRRRAAAAMMMMEEEETTTTEEEERRRRSSSS
  15.      _n_o_n_e
  16.  
  17. DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  18.      cccclllleeeeaaaarrrr sets the bitplane area of the viewport to the current color.
  19.      Multiple bitplane buffers can be cleared simultaneously using the
  20.      bbbbaaaacccckkkkbbbbuuuuffffffffeeeerrrr, ffffrrrroooonnnnttttbbbbuuuuffffffffeeeerrrr, and zzzzddddrrrraaaawwww commands.  Current polygon fill
  21.      pattern and writemask affect the operation of cccclllleeeeaaaarrrr.  The screen mask,
  22.      when it is set to a subregion of the viewport, bounds the cleared region.
  23.      Alpha function, blend function, logical operation, stenciling, texture
  24.      mapping, and z buffering, however, are ignored by cccclllleeeeaaaarrrr.  Stencil and z
  25.      buffer contents are not affected by cccclllleeeeaaaarrrr (except in the special case of
  26.      zzzzddddrrrraaaawwww).
  27.  
  28.      Like other drawing commands, cccclllleeeeaaaarrrr operates on the currently active
  29.      framebuffer, one of normal, popup, overlay, or underlay, based on the
  30.      current draw mode (see ddddrrrraaaawwwwmmmmooooddddeeee).
  31.  
  32.      After cccclllleeeeaaaarrrr executes, the graphics position is undefined.
  33.  
  34. SSSSEEEEEEEE AAAALLLLSSSSOOOO
  35.      afunction, backbuffer, blendfunction, czclear, defpattern, drawmode,
  36.      frontbuffer, logicop, scrmask, setpattern, stencil, texbind, zbuffer,
  37.      zdraw
  38.  
  39. NNNNOOOOTTTTEEEE
  40.      On the IRIS-4D B, G, GT, GTX, and VGX models, cccclllleeeeaaaarrrr runs faster when the
  41.      window is completely unobscured.
  42.  
  43.      On the Personal Iris, XS, XS24, XZ, Elan and Extreme systems, cccclllleeeeaaaarrrr runs
  44.      faster when the visible window area consists of four or fewer rectangular
  45.      regions.
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                                                         PPPPaaaaggggeeee 1111
  64.  
  65.  
  66.  
  67.